<%@ Page Language="C#" EnableViewState="false" ValidateRequest="false" AutoEventWireup="true" Inherits="Syrinx.Gui.AspNet.Ajax.NitobiBasePage" 
	MasterPageFile="~/App_ThemeMasters/NoStyle/OneColumnLayout.Master" %>
<%@ Register Assembly="Swaf.Gui.AspNet2" Namespace="Swaf.Gui.AspNet2" TagPrefix="swf" %>
<%@ Register Assembly="ScsAspNet" Namespace="Syrinx.Gui.AspNet.Ajax" TagPrefix="saj" %><%@ Register Assembly="NitobiControls" Namespace="Nitobi" TagPrefix="ntb" %>

<!--#include file="~/SiteControls/RegisterStandardControls.txt"-->
<!--#include file="../SiteControls/StandardHeaderPageContent-NoCart.inc"-->
<!--#include file="../SiteControls/StandardFooterPageContent.inc"-->

<asp:Content ContentPlaceHolderID="mainContent" runat="server" ID="c2">

<swf:BizProc ID="sArt1" runat="server" factoryName="eComProducts">
		<State entireTree="true"  EditModeSessionKey="GlobalEdit" startDepth="0" endDepth="0" includeSelf="true"/>
		<ParentBizProc id="loginBP" />
	</swf:BizProc>
	<swf:BizProc ID="dArt1" runat="server" factoryName="eComProducts">
		<State entireTree="true" EditModeSessionKey="GlobalEdit" startDepth="0" endDepth="1"  />
		<ParentBizProc id="sArt1" fieldName="id" dataId="pid"/>
	</swf:BizProc>
	<swf:BizProc ID="lastOrderBP" runat="server" FactoryName="eComSalesOrder">
		<State showLastOrder="true" />
		<ParentBizProc id="loginBP" />
	</swf:BizProc>
		<swf:BizProc ID="orderItemBP" runat="server" FactoryName="eComSalesOrderItems">
		<State  entireTree="false"  EditModeSessionKey="GlobalEdit" baseListFieldNameforMaster="product" masterDataDisplay="blOnly"/>
		<ParentBizProc id="lastOrderBP" fieldName="id" dataId="pid" />
	</swf:BizProc>
<h4><asp:Label ID="Label1" runat="server" >Thank you for shopping with us.</asp:Label></h4>
    <div class="verticalbg">
        <div style="width:300px;">
	        <div class="horizontalbg">
		        <div style="padding-bottom:5px;font-size:small">
					<asp:HyperLink ID="ProductSalesPageLink" runat="server" Text="Continue Shopping" NavigateUrl="ecomproductsales.aspx" /> 
				</div>
				<h3><asp:Label ID="Label2" runat="server" >Order Summary</asp:Label></h3>
				<saj:NitobiBizObjDisplay ID="od" runat="server" 
					ReadOnlyTemplate="eCom.Gui.AspNet.SalesOrderCheckoutDisplay" 
					ParentBizProcIds="lastOrderBP" />
	        </div>
        </div>
    </div>
    
<p></p>
 <div class="contentwrap">
		<saj:ComplexBizObjListDisplay runat="server" ID="products"
		ReadOnlyTemplate="eCom.Gui.AspNet.SOItemsListDisplay-ProductStyle4"
		ParentBizProcIds="orderItemBP" >
		<macros>
			<Entry name="navLink" type="String">productview.aspx?gArt1pid=$pid$&amp;gArt1id=$id$</Entry>
			<Entry name="imageRes" type="String">SmallThumbnail</Entry>
		</macros>
		</saj:ComplexBizObjListDisplay>
    </div>
    
</asp:Content>
